package com.xutong.myfunction.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.xutong.myfunction.R;

/**
 * Created by tongtian on 2017/9/21.
 */
public class IndicatorFragment extends Fragment {

    private String text;


    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_indicator,container,false);
        TextView textView = (TextView) view.findViewById(R.id.tvContent);
        text = getArguments().getString("text");
        textView.setText(text);
        return view;
    }


}
